package org.jeecg.modules.demo.hd.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
public class UserCashMainViewVo implements Serializable {
    /**
     * 用户ID
     */
    @ApiModelProperty(value = "用户ID")
    private String userId;

    @ApiModelProperty(value = "账户余额")
    private Double cashNum;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private Date bonusTime;

    @ApiModelProperty(value = "用户名称")
    private String userName;

    @ApiModelProperty(value = "二维码")
    private String avatar;

    @ApiModelProperty(value = "用户状态")
    @Dict(dicCode = "user_status")
    private Integer status;
}
